//
//  GAKKINetworkCommonRequestModel.m
//  GANGAIKit
//
//  Created by fh on 2019/11/14.
//  Copyright © 2019 cashchina. All rights reserved.
//

#import "GAKKINetworkCommonRequestModel.h"
#import <YYModel/YYModel.h>

NSString *const GAKKINetworkCommonRequestDataKey = @"GAKKINetworkCommonRequestDataKey";

@interface GAKKINetworkCommonRequestModel ()

@end

@implementation GAKKINetworkCommonRequestModel
+ (instancetype)commonRequestModel {
    NSDictionary *dic = [[NSUserDefaults standardUserDefaults] objectForKey:GAKKINetworkCommonRequestDataKey];
    GAKKINetworkCommonRequestModel *model = nil;
    if (dic) {
        model = [GAKKINetworkCommonRequestModel yy_modelWithJSON:dic];
    }else {
        model = [GAKKINetworkCommonRequestModel new];
    }
    model.token = @"XXXX";
    return model;
}
@end
